//return 年-月-日  2019-08-05
function getNowFormatDate() {
  var date = new Date();
  var seperator1 = "-";
  var year = date.getFullYear();
  var month = date.getMonth() + 1;
  var strDate = date.getDate();
  var currentdate = year + seperator1 + month + seperator1 + strDate;
  return currentdate;
}

module.exports = getNowFormatDate;